package com.dzh.mapper;

import com.dzh.pojo.Agent;
import com.dzh.pojo.AgentProperties;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface AgentMapper {
    Agent queryAgentByAid(Integer aid);
    List<Agent> queryAllAgent();


    Integer queryAidByPid(Integer pid);

    Integer queryAidByName(String aname);

    int insertAP(AgentProperties agentProperties);

}
